EXTRA_SUBDIRS = include

noinst_LIBRARIES = libnetwork.a

INCLUDES = -I $(top_srcdir)/include -I $(top_srcdir)/input/include -I $(top_srcdir)/network/linux/include -I $(top_srcdir)/audio/linux/include -I /usr/local/include/SDL

if USE_NETWORK
NETWORK_SRCS = ./linux/ipx_mcast4.cpp ./linux/linuxnet.cpp
if USE_NATIVE_IPX
IPX_SRCS = ./linux/ipx_bsd.cpp
endif
if USE_KALINIX
KALI_SRCS = ./linux/ipx_kali.cpp ./linux/ukali.cpp
endif
endif

libnetwork_a_SOURCES = ${NETWORK_SRCS} ${IPX_SRCS} ${KALI_SRCS} \
	autodl.cpp banlist.cpp multi.cpp multibot.cpp multimsg.cpp netmisc.cpp \
	network.cpp network_init.cpp network_join.cpp network_lib.cpp \
	network_phandler.cpp network_process.cpp network_read.cpp network_send.cpp \
	network_sync.cpp tracker.cpp udp_interface.cpp 
	

